package Aop.Utility;

import java.util.ArrayList;

public class NumeralUtility
{
	public NumeralUtility()
	{
		throw new Error("Static Class");
	}
	
	static public ArrayList<Integer> GetUnitsList(int value)
	{
		ArrayList<Integer> result = new ArrayList<Integer>();
		String valueByString = String.valueOf(value);
		
		for(int i = 0; i < valueByString.length(); ++i)
		{
			char unitsChar = valueByString.charAt(i);
			String units = "" + unitsChar;
			result.add(Integer.parseInt(units));
		}		
		
		return result;		
	}
}
